package org.sump.data;

import java.util.Set;

/**
 * Auxiliary interface for entities with a roles. 
 * @author Sergey Grigorchuk (sergey.grigorchuk@gmail.com)
 */
public interface HasRoles {
	
	/**
	 * All roles of a subject
	 * @return all roles of a subject
	 */
	Set<Role> getRoles();
}
